﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using CMSMVC4.Filters;

namespace CMSMVC4.Areas.Admin.Controllers
{
    public class SearchController : Controller
    {
        //
        // GET: /Admin/Search/

        [Authorize]
        public ActionResult Index(string id)
        {
            var cm = new CommandSql();
            var data = cm.SearchAdmin(id);
            return View(data);
        }

    }
}
